package admin_router

import (
	"blog_go/api/admin_api"
)

func (r adminRouterGroup) AdminMenuRouter() {
	adminMenuApi := admin_api.AdminApiGroupApp.AdminMenuApi
	r.POST("/add", adminMenuApi.MenuAdd)
	r.GET("/list", adminMenuApi.MenuList)
	r.PUT("/update", adminMenuApi.MenuUpdate)
	r.DELETE("/del", adminMenuApi.MenuDel)
	r.GET("/details", adminMenuApi.MenuDetails)
}
